home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Tool Chest / !Interfaces / Universal Interfaces 2.0a1 / PInterfaces / Strings.p < prev    next >
Encoding:
Text File  |  1994-07-17  |  1.1 KB  |  58 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        Strings.p
  3.  
  4.      Copyright:    © 1984-1994 by Apple Computer, Inc.
  5.                  All rights reserved.
  6.  
  7.      Version:    Universal Interfaces 2.0a1.  ETO #15, MPW prerelease.  Sunday, July 17, 1994. 
  8.  
  9.      Bugs?:        If you find a problem with this file, send the file and version
  10.                  information (from above) and the problem description to:
  11.  
  12.                      Internet:    apple.bugs@applelink.apple.com
  13.                      AppleLink:    APPLE.BUGS
  14.  
  15. }
  16.  
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT Strings;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __STRINGS__}
  27. {$SETC __STRINGS__ := 1}
  28.  
  29. {$I+}
  30. {$SETC StringsIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33.  
  34. {$IFC UNDEFINED __TYPES__}
  35. {$I Types.p}
  36. {$ENDC}
  37. {    ConditionalMacros.p                                            }
  38.  
  39. {$PUSH}
  40. {$ALIGN MAC68K}
  41. {$LibExport+}
  42.  
  43. PROCEDURE C2PStrProc(aStr: UNIV Ptr);
  44. FUNCTION C2PStr(cString: UNIV Ptr): StringPtr;
  45. PROCEDURE P2CStrProc(aStr: StringPtr);
  46. FUNCTION P2CStr(pString: StringPtr): Ptr;
  47.  
  48. {$ALIGN RESET}
  49. {$POP}
  50.  
  51. {$SETC UsingIncludes := StringsIncludes}
  52.  
  53. {$ENDC} {__STRINGS__}
  54.  
  55. {$IFC NOT UsingIncludes}
  56.  END.
  57. {$ENDC}
  58.